<%-- 
    Document   : getUri
    Created on : 2012-8-20, 21:43:01
    Author     : txdnet
--%>

<%@page import="txdnet.util.DataUtil"%>
<%@page import="java.net.URI"%>
<%@page import="txdnet.util.StaticMark"%>
<%@page import="org.apache.commons.io.IOUtils"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" buffer="16kb" session="false" autoFlush="true"%>
<%
URI uri = URI.create("http://www.baidu.com/");
String html = IOUtils.toString(uri,StaticMark.ENCODING_GBK);
out.println(DataUtil.clearNonBlankChar(html));
%>
